﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using app_common;
using System.Data;
using tpos_dataaccess;

namespace tpos_business
{
    public class clsOrder
    {
        //tpos_dataaccess.FrontEnd. clsDA = new tpos_dataaccess.FrontEnd.dalGroupItem();
        tpos_dataaccess.FrontEnd.dalItem clsDA = new tpos_dataaccess.FrontEnd.dalItem();

        /* Author: Tien
         * Date: 06/07
         * Desc: Get from Item table
         */        
        public DataTable getItem()
        {
            return clsDA.getItem();
        }

        /* Author: Tien
         * Date: 06/07
         * Desc: Get from Item table
         */
        public DataTable getItemByCodeName(string findText)
        {
            return clsDA.getItemByCodeOrName(findText);
        }
    }
}
